<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        img {
            width: 100px;
            height: 100px;
            display: none; /*隐藏*/
        }
        div {
            border: 1px solid red;
            width: 100px;
            height: 100px;
        }
        span {
            border: 1px solid blue;
            width: 100px;
            height: 100px;
            /*行内元素不能修改宽高,如必须修改宽高,修改display为块级或者行内块*/
            display: block;
        }
        a {
            background-color: #0aa1ed;
            width: 132px;
            height: 40px;
            display: block;
            text-align: center;
            line-height: 40px;
            color: white;
            text-decoration: none;/*去掉下划线*/
            font-size: 20px;
            border-radius: 3px;/*设置圆角*/
        }
    </style>
</head>
<body>
    <a href="">查看详情</a>
    <div>div1</div>
    <div>div2</div>
    <div>div3</div>
    <span>span1</span><span>span2</span><span>span3</span>
    <img src="../b.jpg" alt="">
    <img src="../b.jpg" alt="">
    <img src="../b.jpg" alt="">
</body>
</html>